package com.itheima.dao;

import com.itheima.domian.Student;

import java.util.List;

public interface StudentDao {
    public abstract List<Student> AllFindStudent();
    /*按照id查询表中的数据*/
    public abstract  Student findStudent(int id );
    /*添加数据*/
    public abstract  int addStudent(Student student);
    /*更新数据*/
    public abstract int updateStudent(Student student, int id);
    /*删除数据*/
    public abstract  int deleteStudent(int id );
}
